home *** CD-ROM | disk | FTP | other *** search
/ 10,000 Great Games / 10,000 Great Games.iso / Product / 66 / data1.cab / Source_Files / Src / PlayerSelect.h < prev    next >
C/C++ Source or Header  |  2000-01-16  |  3KB  |  141 lines

  1. #if !defined(AFX_PLAYERSELECT_H__DB35BB01_144B_11D2_82DF_FCD070D9A530__INCLUDED_)
  2. #define AFX_PLAYERSELECT_H__DB35BB01_144B_11D2_82DF_FCD070D9A530__INCLUDED_
  3.  
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif
  7.  
  8. class CPlayerSelect : public CDialog
  9. {
  10. public:
  11.     CPlayerSelect(CWnd* pParent = NULL);
  12.     ~CPlayerSelect();
  13.  
  14.     //{{AFX_DATA(CPlayerSelect)
  15.     enum { IDD = IDD_PLAYERSELECT };
  16.     BOOL    m_Pl1Selected;
  17.     CString    m_Pl1Name;
  18.     BOOL    m_Pl2Selected;
  19.     CString    m_Pl2Name;
  20.     BOOL    m_Pl3Selected;
  21.     CString    m_Pl3Name;
  22.     BOOL    m_Pl4Selected;
  23.     CString    m_Pl4Name;
  24.     BOOL    m_Pl5Selected;
  25.     CString    m_Pl5Name;
  26.     BOOL    m_Pl6Selected;
  27.     CString    m_Pl6Name;
  28.     BOOL    m_Pl7Selected;
  29.     CString    m_Pl7Name;
  30.     BOOL    m_Pl8Selected;
  31.     CString    m_Pl8Name;
  32.     //}}AFX_DATA
  33.  
  34.     //{{AFX_VIRTUAL(CPlayerSelect)
  35.     protected:
  36.     virtual void DoDataExchange(CDataExchange* pDX);
  37.     //}}AFX_VIRTUAL
  38.  
  39. protected:
  40.     //{{AFX_MSG(CPlayerSelect)
  41.     afx_msg void OnPl4Configure();
  42.     afx_msg void OnPl1Configure();
  43.     afx_msg void OnPl2Configure();
  44.     afx_msg void OnPl3Configure();
  45.     afx_msg void OnPl5Configure();
  46.     afx_msg void OnPl6Configure();
  47.     afx_msg void OnDestroy();
  48.     afx_msg void OnPl7Configure();
  49.     afx_msg void OnPl8Configure();
  50.     //}}AFX_MSG
  51.  
  52.     DECLARE_MESSAGE_MAP()
  53. };
  54.  
  55. class CJoySetup : public CDialog
  56. {
  57. public:
  58.     void PopulateButtonList();
  59.     CJoySetup(int n, CWnd* pParent = NULL);
  60.  
  61.     int n;
  62.     DWORD fire, jetpack, mine;
  63.  
  64.     //{{AFX_DATA(CJoySetup)
  65.     enum { IDD = IDD_SETUPJOY };
  66.     CComboBox    m_Mine;
  67.     CComboBox    m_Jetpack;
  68.     CComboBox    m_Fire;
  69.     CComboBox    m_Device;
  70.     //}}AFX_DATA
  71.  
  72.     //{{AFX_VIRTUAL(CJoySetup)
  73.     protected:
  74.     virtual void DoDataExchange(CDataExchange* pDX);
  75.     //}}AFX_VIRTUAL
  76.  
  77. protected:
  78.     //{{AFX_MSG(CJoySetup)
  79.     afx_msg void OnCalibrateJoystick();
  80.     virtual void OnOK();
  81.     virtual BOOL OnInitDialog();
  82.     afx_msg void OnDestroy();
  83.     afx_msg void OnSelchangeJoyDevice();
  84.     //}}AFX_MSG
  85.     DECLARE_MESSAGE_MAP()
  86. };
  87.  
  88. class CKeySetup : public CDialog
  89. {
  90. public:
  91.     CKeySetup(int n, CWnd* pParent = NULL);
  92.  
  93.     int n;
  94.  
  95.     //{{AFX_DATA(CKeySetup)
  96.     enum { IDD = IDD_SETUPKEYBOARD };
  97.     CComboBox    m_Up;
  98.     CComboBox    m_Right;
  99.     CComboBox    m_Left;
  100.     CComboBox    m_Fire;
  101.     CComboBox    m_Down;
  102.     //}}AFX_DATA
  103.  
  104.     //{{AFX_VIRTUAL(CKeySetup)
  105.     protected:
  106.     virtual void DoDataExchange(CDataExchange* pDX);
  107.     //}}AFX_VIRTUAL
  108.  
  109. protected:
  110.     //{{AFX_MSG(CKeySetup)
  111.     virtual BOOL OnInitDialog();
  112.     virtual void OnOK();
  113.     //}}AFX_MSG
  114.     DECLARE_MESSAGE_MAP()
  115. };
  116.  
  117. class CMouseSetup : public CDialog
  118. {
  119. public:
  120.     CMouseSetup(CWnd* pParent = NULL);   
  121.  
  122.     //{{AFX_DATA(CMouseSetup)
  123.     enum { IDD = IDD_SETUPMOUSE };
  124.     CButton    m_Reverse;
  125.     //}}AFX_DATA
  126.  
  127.     //{{AFX_VIRTUAL(CMouseSetup)
  128.     protected:
  129.     virtual void DoDataExchange(CDataExchange* pDX);    
  130.     //}}AFX_VIRTUAL
  131.  
  132. protected:
  133.     //{{AFX_MSG(CMouseSetup)
  134.     virtual void OnOK();
  135.     virtual BOOL OnInitDialog();
  136.     //}}AFX_MSG
  137.     DECLARE_MESSAGE_MAP()
  138. };
  139.  
  140. #endif
  141.